@extends('admin.layout.index')

@section('content')
    <div class="col-md-6" >
      <!--   Kitchen Sink -->
        <div class="card">
            <div class="card-action">
                用户对商品评价详细信息显示
            </div>
            <div class="card-content">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th colspan="4" style="line-height:40px;color:#333;background-color:#ccc;text-align:center">用户对商品评价详细信息表</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td style="text-align:center">店铺评分：</td>
                                @if($data['sscore'] == 5)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['sscore'] == 4)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['sscore'] == 3)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['sscore'] == 2)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['sscore'] == 1)
                                <td colspan="3"><i class="material-icons dp48">grade</i></td>
                                @endif
                            </tr>
                            <tr>
                                <td style="text-align:center">商品评分：</td>
                                @if($data['score'] == 5)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['score'] == 4)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['score'] == 3)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['score'] == 2)
                                <td colspan="3"><i class="material-icons dp48">grade</i><i class="material-icons dp48">grade</i></td>
                                @elseif($data['score'] == 1)
                                <td colspan="3"><i class="material-icons dp48">grade</i></td>
                                @endif
                            </tr>
                            <tr>
                                <td style="text-align:center">评价内容：</td>
                                <td colspan="3">{{ $data['content'] }}</td>
                            </tr>
                            <tr>
                                <td style="text-align:center">匿名评价：</td>
                                @if($data['xhibition'] == 0)
                                <td colspan="3"><span style="color:green">是</span></td>
                                @else
                                <td colspan="3"><span style="color:red">否</span></td>
                                @endif
                            </tr>
                            <!-- <tr>
                                <td style="width:180px;text-align:center">追加：</td>
                                @if($data['state'] == 0)
                                <td colspan="3"><span style="color:red">!!该用户对商品未进行追加评论</span></td>
                                @else
                                <td colspan="3">{{ $data['acontent'] }}</td>
                                @endif
                            </tr> -->
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
         <!-- End  Kitchen Sink -->
    </div>
@endsection